Method GetStatisticsAsync<TField>(Expression<Func<TProps, TField>>, CancellationToken)

Assembly: redb.Core.dll

Get field statistics (Sum, Avg, Min, Max, Count) in single call.
All aggregations execute in parallel for maximum performance.

Task<FieldStatistics<TField>> GetStatisticsAsync<TField>(Expression<Func<TProps, TField>> selector, CancellationToken cancellationToken = default) where TField : struct